package com.shop.dao;

import java.util.List;

import com.shop.entity.Product;

public interface ProductDao {
	
	public boolean isExist(Product product);
	public List<Product> getAllProduct();
	public void addProduct(Product product);
	public List<Product> getProductsByWord(String searchWord);
	public boolean deleteProduct(int id);
	public boolean updateProduct(Product product);
	public Product findProductById(int id);
	
}
